home *** CD-ROM | disk | FTP | other *** search
/ Adobe Graphics & Publishing SDK 1996 December / Adobe Graphics & Publishing SDK 1996 December.iso / mac / PageMaker 6.5 SDK Mac / SourceCode / PageMakerClassLibrary / Queries / PGetStoryList.cpp < prev    next >
C/C++ Source or Header  |  1996-08-15  |  754b  |  33 lines

  1. /*
  2.  *--- PGetStoryList.cpp ---------------------------------------------------
  3.  * Copyright (c) 1995-96 Adobe Systems Incorporated.  All rights reserved.
  4.  * Created on Sun, Oct 22, 1995 @ 4:49 PM by Paul Ferguson.
  5.  *
  6.  * Description:  For notes about this class, refer to the
  7.  * PCL documentation file PGetStoryList.html
  8.  *-------------------------------------------------------------------------
  9.  */
  10.  
  11. #include "PGetStoryList.h"
  12. #include "PReplyBuf.h"
  13.  
  14. PGetStoryList::PGetStoryList()
  15. : PListQuery(pm_getstorylist)
  16. {
  17.     Scan();
  18. }
  19.  
  20. void PGetStoryList::Scan()
  21. {
  22.     PReplyBuf reply(listMom.Current());
  23.     
  24.     reply    >> &fFilename
  25.             >> nNumChars;
  26.     
  27.     textBlock = reply;
  28.     
  29.     listMom.Update(textBlock.End());
  30. }
  31.  
  32. // end of PGetStoryList.cpp
  33.